package com.ziyun.pop.modules.mercharReport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ziyun.pop.modules.mercharReport.entity.OrderInfoEntity;
import com.ziyun.pop.modules.mercharReport.entity.ReportOrderInfoVO;
import com.ziyun.pop.modules.mercharReport.entity.TwbReportOrderInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 订单基础信息表
 *
 * @author jiangli
 * @email
 * @date 2018-10-16 14:34:22
 */
public interface MercharOrderInfoDao extends BaseMapper<OrderInfoEntity> {
    List<ReportOrderInfoVO> list(@Param("page") IPage page, @Param("map") Map<String, Object> map);

    //查询金额用
    List<ReportOrderInfoVO> listAll(@Param("map") Map<String, Object> map);

    //导出用
    List<ReportOrderInfoVO> list(@Param("map") Map<String, Object> map);

    //查询业务员
    List<String> getUsername(Long sellerId);

}
